﻿using SvgCore.Core;
using System;
using System.Collections.Generic;
using System.Text;

namespace SvgCore
{
    public class SVG:  SObject
    {

        List<SObject> objects = new List<SObject>();

        public override string toXML()
        {
            StringBuilder sb = new StringBuilder();

            sb.Append("<SVG>\n");
            foreach (var item in objects)
            {
                sb.Append("\t" + sb.ToString() + "\n");
            }
            sb.Append("</SVG>\n");

            return sb.ToString();
        }
    }
}
